// This file was procedurally generated from the following sources:
// - src/class-elements/grammar-field-accessor.case
// - src/class-elements/syntax/valid/cls-expr-elements-valid-syntax.template
/*---
description: Valid accessor FieldDefinition, ClassElementName, PropertyName Syntax (class expression)
esid: prod-ClassElement
features: [decorators, class]
flags: [generated]
info: |
    FieldDefinition[Yield, Await] :
      ClassElementName[?Yield, ?Await] Initializer[+In, ?Yield, ?Await]opt
      accessor [no LineTerminator here] ClassElementName[?Yield, ?Await] Initializer[+In, ?Yield, ?Await]opt

---*/


function Test() {
    var C = class {
      accessor $;
      accessor _;
      accessor \u{6F};
      accessor \u2118;
      accessor ZW_\u200C_NJ;
      accessor ZW_\u200D_J;
    };
}

// preheat
const NUMBER_OF_PREHEAT = 1;
for (let i = 0; i < NUMBER_OF_PREHEAT; i++) {
    Test();
}

ArkTools.jitCompileAsync(Test);
assert.sameValue(ArkTools.waitJitCompileFinish(Test), true, '[JIT] JIT disabled.');

// test
const NUMBER_OF_TEST = 1; // or 2
for (let i = 0; i < NUMBER_OF_TEST; i++) {
    Test();
}
